#ifndef CLASSBOOK_H
#define CLASSBOOK_H
#include <iostream>
#include "Book.h"
using namespace std;
using namespace LB;

namespace LB
{
class Classbook
{
public:
	int m_cid;
	char m_classname[20];
	vector<Book> v_book;

	Classbook(int m_cid=0,char* m_classname=" ");
	Classbook(vector<Book> b,const char name[20],int id);
	bool cmp(Book& b1,Book& b2);
	bool findbook(Book& findbook);
	void addbook(Book& book);
	void deletebook(int bid);
	void listbook(void);
	void sortbooks(void);
	Book highestpraisebook(void);
	Book mostborrowbook(void);

};
}

#endif